<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class goods_attr_val extends Model
{
    public $table = 'goods_attr_val';
    public $timestamps = false;
    protected $fillable = [];
    public $primaryKey = "id";

    public static function getVal($ids){
        return self::whereIn('attr_key_id',$ids)->get(['attr_value'])->toArray();
    }
}
